package com.zheng.hr.rpc.api;

import com.alibaba.fastjson.JSONArray;
import com.zheng.hr.dao.model.HrPosition;
import com.zheng.hr.dao.mapper.HrPositionMapper;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.oa.common.exception.OaException;

import java.util.List;

/**
 * <p>
 * hr_position 岗位表 服务实现降级实现类
 * </p>
 *
 * @author likun
 * @since 2018-01-08
 */
public class HrPositionServiceMock extends BaseServiceMock<HrPositionMapper, HrPosition> implements HrPositionService {
    @Override
    public boolean deletePositionByIds(String ids) throws OaException {
        return false;
    }

    @Override
    public boolean insertPosition(HrPosition position) throws OaException {
        return false;
    }

    @Override
    public JSONArray getAllPositionAndUserTree(Boolean isUser, String username) {
        return null;
    }
}
